package br.com.lh.urabuilder.domain.xml
{
	import mx.collections.ArrayCollection;
	
	public interface UraAction
	{
		function toXML(includeNull:Boolean):XML;
		function getVariables():XMLList;
		function getId():int;
		function setId(id:int):void;
		/**
		 * 
		 * @return the name of the component as it's shown on xml. 
		 * 
		 */
		function xmlName():String;
		/**
		 * @return the name of the componenent as it's shown on screen. 
		 */
		function toolTipText():String;
		
		/**
		 * 
		 * @return wheter the action is already linked.
		 * All actions but the conditional will 
		 * be considered linked if their next id is != -1. 
		 * 
		 */
		function isLinked():Boolean;
		function buildFromXml(elementXml:XML):void;
		
		
		
		
	}
}